package cn.mysource.org.service.impl;

import cn.mysource.basic.service.impl.BaseServiceImpl;
import cn.mysource.org.domain.Dictionarydetail;
import cn.mysource.org.domain.Permission;
import cn.mysource.org.mapper.DictionarydetailMapper;
import cn.mysource.org.service.IDictionarydetailService;
import cn.mysource.org.service.IPermissionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional(readOnly = true,propagation = Propagation.SUPPORTS)
public class DictionarydetailServiceImpl extends BaseServiceImpl<Dictionarydetail> implements IDictionarydetailService {

    @Autowired
    private DictionarydetailMapper mapper;
    @Override
    public List<Dictionarydetail> findByDet(Long id) {
        return mapper.findByDet(id);
    }
}
